- page_title "编辑", @page.title.capitalize, "维基"
= render "header_title"
= render 'nav'

.top-area
  .nav-text
    %strong
      - if @page.persisted?
        = link_to @page.title.capitalize, namespace_project_wiki_path(@project.namespace, @project, @page)
      - else
        = @page.title.capitalize
    %span.light
      &middot;
      编辑页面

  .nav-controls
    = render 'main_links'


= render 'form'
